<?php
/*
 * Custom Page plugin
 *
 */

function igolf_map_init() {
	elgg_register_js('mobilize', 'mod/igolf_map/js/map.js');
	elgg_load_js('mobilize');
	
	elgg_register_ajax_view('igolf_map/map');
	
	elgg_register_ajax_view('igolf_map/test_token');
}


elgg_register_event_handler('init', 'system', 'igolf_map_init');